<template>
  <div class="enterprise-panel">
    <div class="panel bg-white" v-for="item in info" :key="item.name">
      <div class="panel-head padding">{{ item.name }}</div>
      <p class="panel-body padding">{{ item.value }}</p>
    </div>
  </div>
</template>

<script>
export default {
  name: 'enterprise-panel',
  props: {
    info: {
      type: Array,
      default () {
        return []
      }
    }
  }
}
</script>

<style scoped>
  .panel-head {
    color: #999999;
  }
  .panel-body {
    margin-top: 0;
    border-top: 1px solid #ddd;
  }
</style>
